package common.com.androidbase.datarequest;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * 专辑详情下的Company
 *
 * @author
 */
public class AlbumInfoCompany implements Parcelable {

    private String name;
    private String logo;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(name);
        dest.writeString(logo);
    }

    public static final Creator<AlbumInfoCompany> CREATOR = new Creator<AlbumInfoCompany>() {

        @Override
        public AlbumInfoCompany createFromParcel(Parcel source) {
            return new AlbumInfoCompany(source);
        }

        @Override
        public AlbumInfoCompany[] newArray(int size) {
            return new AlbumInfoCompany[size];
        }
    };

    public AlbumInfoCompany(Parcel source) {
        name = source.readString();
        logo = source.readString();
    }
}
